#!/bin/bash
ips=192.168.10.100
sshpass -p artosyn scp -O /home/wangyang/buildroot-2023-92/output/target/usr/bin/gdbserver root@$ips:/usrdata/gdbserver
sshpass -p artosyn scp -O -r install root@$ips:/usrdata
sshpass -p artosyn scp -O script/gdbinit.sh root@$ips:/usrdata
# sshpass -p artosyn ssh -O -n -f root@$ips "killall gdbserver"
echo "update ok"
